package com.njupt.yanglonglong.report.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njupt.yanglonglong.report.demo.dto.CourseDto;
import com.njupt.yanglonglong.report.demo.dto.StudentInfo;
import com.njupt.yanglonglong.report.demo.entity.RAppliedStudent;
import com.njupt.yanglonglong.report.demo.vo.ReportInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 李沛隆
 * @Entity com.njupt.yanglonglong.report.demo.entity.RAppliedStudent
 */
@Repository
public interface RAppliedStudentMapper extends BaseMapper<RAppliedStudent> {

    List<StudentInfo> queryAppliedStuList(String teacherId,String courseId);

    List<CourseDto> getCoursesByStuId(String stuId);

    ReportInfo getReportInfoByStuIdAndExperId(String stuId, String experId);
}
